package com.wish.finance.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wish.finance.entity.TCwPaymentPlan;
import com.wish.finance.entity.vo.TCwPaymentPlanVo;
import com.wish.finance.mapper.TCwPaymentPlanMapper;
import com.wish.finance.service.ITCwPaymentPlanService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 高锦涛
 * @since 2022-03-26
 */
@Service
public class TCwPaymentPlanServiceImpl extends ServiceImpl<TCwPaymentPlanMapper, TCwPaymentPlan> implements ITCwPaymentPlanService {

    @Override
    public List<TCwPaymentPlanVo> paymentList(TCwPaymentPlanVo tCwPaymentPlanVo) {
        List<TCwPaymentPlanVo> tCwPaymentPlanVos = getBaseMapper().paymentList(tCwPaymentPlanVo);
        return tCwPaymentPlanVos;
    }
}
